package com.xkcun.crm;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.MultipartConfigFactory;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.util.unit.DataSize;

import javax.servlet.MultipartConfigElement;

@MapperScan("com.xkcun.**.mapper")
@EnableCaching
@EnableAsync
@EnableFeignClients(basePackages = {"com.xkcun.*"})
@SpringBootApplication
public class CrmApplication {
    public static void main(String[] args) {
            SpringApplication.run(CrmApplication.class, args);
    }


}
